using System;

namespace Sern.ServiceImplementation
{
    public class Listener : IDisposable
    {
        public Action Open { get; set; }

        public Action Close { get; set; }

        public Action Dispose { get; set; }

        void IDisposable.Dispose()
        {
            Dispose();
        }
    }
}